package com.junjie.checkin.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.*;
import com.junjie.checkin.entity.Enum.StudentGiftStatusEnum;
import lombok.Data;
import java.io.Serializable;

/**
 * 学生兑换礼物表(TStudentGift)实体类
 *
 * @author makejava
 * @since 2025-06-17 14:54:49
 */
@Data
@TableName("t_student_gift")
public class TStudentGift implements Serializable {
    private static final long serialVersionUID = 966527880302563441L;
    
/**
     * 主键ID
     */    
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    
/**
     * 学生ID，关联学生表
     */    
    @TableField(value = "userId")
    private Integer userId;
    
/**
     * 学生名称
     */    
    @TableField(value = "student_name")
    private String studentName;

    @TableField(value = "student_id")
    private String studentId;

/**
     * 礼物ID，关联gift表
     */    
    @TableField(value = "gift_id")
    private Integer giftId;
    
/**
     * 礼物
     */    
    @TableField(value = "gift_name")
    private String giftName;
    
/**
     * 礼物图片
     */    
    @TableField(value = "image_url")
    private String imageUrl;
    
/**
     * 本次兑换花费积分
     */    
    @TableField(value = "point")
    private Integer point;

    @TableField(value = "status")
    private StudentGiftStatusEnum status;
    
/**
     * 收货人名称
     */    
    @TableField(value = "name")
    private String name;
    
/**
     * 收货人电话
     */    
    @TableField(value = "phone")
    private String phone;
    
/**
     * 收货人地址
     */    
    @TableField(value = "address")
    private String address;
    
    
    @TableField(value = "create_time")
    private Date createTime;
    
    
    @TableField(value = "create_by")
    private String createBy;
    
    
    @TableField(value = "update_time")
    private Date updateTime;
    
    
    @TableField(value = "update_by")
    private String updateBy;
    
}
